package com.shop.loan.model.vo;

import lombok.Getter;
import lombok.Setter;
import xyz.erupt.annotation.Erupt;
import xyz.erupt.annotation.EruptField;
import xyz.erupt.annotation.sub_field.Edit;
import xyz.erupt.annotation.sub_field.EditType;
import xyz.erupt.annotation.sub_field.View;
import xyz.erupt.annotation.sub_field.sub_edit.ChoiceType;
import xyz.erupt.annotation.sub_field.sub_edit.VL;

import javax.persistence.Transient;

@Erupt(name = "修改订单标签")
@Getter
@Setter
public class UpdateBillTagVo extends HyperModelCreatorBaseVo {

    @Transient
    @EruptField(
            views = @View(title = "标记"),
            edit = @Edit(
                    title = "标记",
                    type = EditType.CHOICE,
                    notNull = true,
                    choiceType = @ChoiceType(
                            vl = {
                                    @VL(label = "⭐", value = "1"),
                                    @VL(label = "❤️", value = "2"),
                                    @VL(label = "❌", value = "3"),
                            }
                    ))
    )
    private Integer billTag;


}
